home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / netzwerk / tcp-ip / usno / docs / timesrv.man < prev    next >
Text File  |  1996-02-26  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.  timesrv(1)                                                       timesrv(1)
  5.                                     local
  6.  
  7.  
  8.  
  9.  NAME
  10.       timesrv - set local system time to time server host system time
  11.  
  12.  SYNOPSIS
  13.       timesrv <hostname>
  14.  
  15.  DESCRIPTION
  16.       Timesrv provides a TCP service on an Internet time server host using
  17.       BSD Internet Stream Sockets.  It obtains the current system time of
  18.       the server's system clock time as a long int in units of seconds since
  19.       the Epoch (end of 1969), and sends it out on stream socket 22375 (an
  20.       arbitrary number, which must be matched on the client host). Normally
  21.       the time server is a system that sychronizes to Master Clock time.
  22.  
  23.       timesrv is designed to be  spawned by inetd
  24.  
  25.       timesrv requires the following entry in /etc/services:
  26.  
  27.       timesrv   22375/tcp
  28.  
  29.       and the following entry in /etc/inetd.conf:
  30.  
  31.       timesrv stream tcp  nowait  root /usr/local/bin/timesrv timesrv
  32.  
  33.       After adding these lines, inetd must be restarted with the command:
  34.       /etc/inetd -c
  35.  
  36.  
  37.  AUTHOR
  38.       timesrv written by Rich Schmidt, US Naval Observatory, 1992.
  39.  
  40.  
  41.  SEE ALSO
  42.       time_set(1), timecheck(1), time(2), stime(2).
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                     - 1 -          Formatted:  June 12, 1992
  64.  
  65.  
  66.  
  67.